package org.smr.ministore.entities;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.blade.entities.base.BizEntity;
import org.smr.ministore.entities.vo.OrganVO;

/**
 * GoodsPrice实体,对应表：t_goods_price
**/
public class GoodsPrice extends  BizEntity<Long>{



    private Goods goods;

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    /**
	* 关联商品
	**/
	@JSONField(
			serializeUsing = ToStringSerializer.class
	)
	private Long goodsId;

	/**
	 * 设置关联商品的值
	 * @param goodsId
	**/
	public void  setGoodsId(Long goodsId){
		this.goodsId = goodsId;
	}
	/**
	 * 获取关联商品的值
	**/
	public  Long getGoodsId(){
		return this.goodsId;
	}






	/**
	* SKU名称
	**/
	private String goodsName;

	/**
	 * 设置SKU名称的值
	 * @param goodsName
	**/
	public void  setGoodsName(String goodsName){
		this.goodsName = goodsName;
	}
	/**
	 * 获取SKU名称的值
	**/
	public  String getGoodsName(){
		return this.goodsName;
	}






	/**
	* SKU编码
	**/
	private String goodsCode;

	/**
	 * 设置SKU编码的值
	 * @param goodsCode
	**/
	public void  setGoodsCode(String goodsCode){
		this.goodsCode = goodsCode;
	}
	/**
	 * 获取SKU编码的值
	**/
	public  String getGoodsCode(){
		return this.goodsCode;
	}




	/**
	* 组织路径
	**/
	private String organPath;

	/**
	 * 设置组织路径的值
	 * @param organPath
	**/
	public void  setOrganPath(String organPath){
		this.organPath = organPath;
	}
	/**
	 * 获取组织路径的值
	**/
	public  String getOrganPath(){
		return this.organPath;
	}










	/**
	* 生成者
	**/
	private Long createBy;

	/**
	 * 设置生成者的值
	 * @param createBy
	**/
	public void  setCreateBy(Long createBy){
		this.createBy = createBy;
	}
	/**
	 * 获取生成者的值
	**/
	public  Long getCreateBy(){
		return this.createBy;
	}






	/**
	* 生成时间
	**/
	private java.util.Date createDate;

	/**
	 * 设置生成时间的值
	 * @param createDate
	**/
	public void  setCreateDate(java.util.Date createDate){
		this.createDate = createDate;
	}
	/**
	 * 获取生成时间的值
	**/
	public  java.util.Date getCreateDate(){
		return this.createDate;
	}




    /**
    * 生成时间 查询时间开始
    **/
    private java.util.Date createDateStart;

    /**
    * 生成时间 查询时间结束
    **/
    private java.util.Date createDateEnd;


    /**
    * 设置生成时间Start的值
    * @param createDateStart
    **/
    public void  setCreateDateStart(java.util.Date createDateStart){
    this.createDateStart = createDateStart;
    }
    /**
    * 获取生成时间Start的值
    **/
    public  java.util.Date getCreateDateStart(){
    return this.createDateStart;
    }

    /**
    * 设置生成时间End的值
    * @param createDateEnd
    **/
    public void  setCreateDateEnd(java.util.Date createDateEnd){
    this.createDateEnd = createDateStart;
    }
    /**
    * 获取生成时间End的值
    **/
    public  java.util.Date getCreateDateEnd(){
    return this.createDateEnd;
    }




	/**
	* 更新者
	**/
	private Long updateBy;

	/**
	 * 设置更新者的值
	 * @param updateBy
	**/
	public void  setUpdateBy(Long updateBy){
		this.updateBy = updateBy;
	}
	/**
	 * 获取更新者的值
	**/
	public  Long getUpdateBy(){
		return this.updateBy;
	}






	/**
	* 更新间时
	**/
	private java.util.Date updateDate;

	/**
	 * 设置更新间时的值
	 * @param updateDate
	**/
	public void  setUpdateDate(java.util.Date updateDate){
		this.updateDate = updateDate;
	}
	/**
	 * 获取更新间时的值
	**/
	public  java.util.Date getUpdateDate(){
		return this.updateDate;
	}




    /**
    * 更新间时 查询时间开始
    **/
    private java.util.Date updateDateStart;

    /**
    * 更新间时 查询时间结束
    **/
    private java.util.Date updateDateEnd;


    /**
    * 设置更新间时Start的值
    * @param updateDateStart
    **/
    public void  setUpdateDateStart(java.util.Date updateDateStart){
    this.updateDateStart = updateDateStart;
    }
    /**
    * 获取更新间时Start的值
    **/
    public  java.util.Date getUpdateDateStart(){
    return this.updateDateStart;
    }

    /**
    * 设置更新间时End的值
    * @param updateDateEnd
    **/
    public void  setUpdateDateEnd(java.util.Date updateDateEnd){
    this.updateDateEnd = updateDateStart;
    }
    /**
    * 获取更新间时End的值
    **/
    public  java.util.Date getUpdateDateEnd(){
    return this.updateDateEnd;
    }




	/**
	* 备注
	**/
	private String remark;

	/**
	 * 设置备注的值
	 * @param remark
	**/
	public void  setRemark(String remark){
		this.remark = remark;
	}
	/**
	 * 获取备注的值
	**/
	public  String getRemark(){
		return this.remark;
	}






    /**
     * 价格(单位：分)
     **/
    private int price;

    /**
     * 设置价格(单位：分)的值
     * @param price
     **/
    public void  setPrice(int price){
        this.price = price;
    }
    /**
     * 获取价格(单位：分)的值
     **/
    public  Integer getPrice(){
        return this.price;
    }



    /**
     * 建议价格(单位：分)
     **/
    private int suggestedRetailPrice;

    /**
     * 设置建议价格(单位：分)的值
     * @param suggestedRetailPrice
     **/
    public void  setSuggestedRetailPrice(int suggestedRetailPrice){
        this.suggestedRetailPrice = suggestedRetailPrice;
    }
    /**
     * 获取建议价格(单位：分)的值
     **/
    public  int getSuggestedRetailPrice(){
        return this.suggestedRetailPrice;
    }



    /**
     * 折扣价格(单位：分)
     **/
    private int discountPrice;

    /**
     * 设置折扣价格(单位：分)的值
     * @param discountPrice
     **/
    public void  setDiscountPrice(int discountPrice){
        this.discountPrice = discountPrice;
    }
    /**
     * 获取折扣价格(单位：分)的值
     **/
    public  Integer getDiscountPrice(){
        return this.discountPrice;
    }



    /**
     * 商品成本(单位：分)
     **/
    private int costPrice;

    /**
     * 设置商品成本(单位：分)的值
     * @param costPrice
     **/
    public void  setCostPrice(int costPrice){
        this.costPrice = costPrice;
    }
    /**
     * 获取商品成本(单位：分)的值
     **/
    public  int getCostPrice(){
        return this.costPrice;
    }


    /**
     * 删除标识
     **/
    private boolean isDeleted;

    /**
     * 设置删除标识的值
     * @param isDeleted
     **/
    public void setIsDeleted(boolean isDeleted){
        this.isDeleted = isDeleted;
    }
    /**
     * 获取删除标识的值
     **/
    public boolean getIsDeleted(){
        return this.isDeleted;
    }



	/**
	 *
	 **/
	private boolean isVending;

	public boolean isVending() {
		return isVending;
	}

	public void setVending(boolean vending) {
		isVending = vending;
	}

	private OrganVO assignee;

	public OrganVO getAssignee() {
		return assignee;
	}

	public void setAssignee(OrganVO assignee) {
		this.assignee = assignee;
	}
}